<script setup lang="ts" name="topNavbarRight">
import Search from '../../icons-button/search.vue'
import SearchMenu from '../../icons-button/SearchMenu.vue'
import ToggleLanguage from '../../icons-button/toggle-language.vue'
import SetAppConfig from '../../icons-button/set-app-config.vue'
import FullScreen from '../../icons-button/full-screen.vue'
import Message from '../../icons-button/message.vue'
import Avatar from './components/avatar.vue'
import useGuide from '@/hooks/useGuide'
useGuide() //引导页
</script>

<template>
  <div class="tool-navbar-right">
    <div class="tool-navbar-right__icons">
      <SearchMenu id="searchMenu" />
      <ToggleLanguage id="language" />
      <SetAppConfig id="settings" />
      <FullScreen id="fullscreen" />
      <Message id="message" />
    </div>
    <span>username</span>
    <Avatar class="tool-navbar-right__avatar" />
  </div>
</template>

<style lang="scss" scoped>
.tool-navbar-right {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  column-gap: 0.6em;

  &__icons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    column-gap: 0.8em;
    margin-right: 1em;
  }
  // &__avatar {
  //   margin: 0 0.1em;
  // }
}
</style>
